@file:JvmName("ToastUtils")

package com.visionblue.business.ship.util

import androidx.annotation.StringRes
import com.visionblue.business.ship.App
import com.visionblue.business.ship.ext.toast


inline fun toast(value: () -> String?): Unit =
    App.context.toast(value)

fun toast(@StringRes textId: Int, vararg formatArgs: Any) =
    toast { App.context.getString(textId, formatArgs) }